public class J1thread {
    public static void main(String[] args) throws InterruptedException {
        Thread t1 = new Thread(()->{
            System.out.println("i am t1");
        });
        t1.start();
        Thread.sleep(1000);
        System.out.println("t1.getState() = " + t1.getState());
        t1.start();
    }
}
